<?php
$arguments['title'] = "充电桩";
$arguments['location'] = array(
    "首页",
    "功能单元",
    "充电桩",
);
$arguments['css'] = array(
    PUBLIC_LIB.'js/core/Pagination/kkpager_orange.css',
    PUBLIC_LIB.'fonts/hui_iconfont/iconfont.css',
    PUBLIC_LIB.'css/biz/enhanced.css',
    PUBLIC_LIB.'js/core/Dropdownlist/chosen.css',
    PUBLIC_LIB.'js/jquery/jquery-ui-1.11.4.custom/jquery-ui.css',
    PUBLIC_LIB.'js/core/fancybox/jquery.fancybox-1.3.4.css',
);
$arguments['js'] = array(
    PUBLIC_LIB.'js/core/fancybox/jquery-1.7.1.js',
    PUBLIC_LIB.'js/core/Pagination/kkpager.min.js',
    PUBLIC_LIB.'js/core/DatePicker/WdatePicker.js',
    PUBLIC_LIB.'js/biz/custominput.js', 
    PUBLIC_LIB.'js/core/Dropdownlist/chosen.jquery.js',  
    PUBLIC_LIB.'js/biz/pagelist.js',
    PUBLIC_LIB.'js/core/Tooltip/tooltip.js',
    PUBLIC_LIB.'js/jquery/jquery-ui-1.11.4.custom/jquery-ui.js',
    PUBLIC_LIB.'js/ajaxupload/ajaxfileupload.js',
    PUBLIC_LIB.'js/core/fancybox/jquery.fancybox-1.3.4.js',
    PUBLIC_LIB.'js/core/fancybox/jquery.fancybox-1.3.4.pack.js',
    PUBLIC_LIB.'js/biz/ajaxfun.js',
    PUBLIC_LIB.'js/biz/chargerList.js',     
);
importHeader($arguments);
?>
<div class="formtitle"><span>充电桩</span></div>
    <div class="search">
     <FORM id="form" method="post" enctype="multipart/form-data">
        <p>
            <div class="label_title">
                <label for="car_num">充电桩编号：</label>
            </div>
            <div class="search_text">
                <input  type="text" class="dfinput search_width" id="car_num" name="car_num" value=""/>
            </div>
            <div class="label_title" style="width: 110px;">
                <label for="date" class="label_checkbox">投入使用时间：</label>  
            </div>
            <div class="search_text">
                <input  type="text" class="dfinput search_width" id="date_start" name="date_start" onClick="WdatePicker()" value=""/>
            </div>  
            <div class="label_title">
                <label>至：</label>
            </div>
            <div class="search_text">
                <input  type="text" class="dfinput search_width" id="date_end" name="date_end" onClick="WdatePicker()" value=""/>
            </div>   
            <button type="button" class="tool tool_left" id="search"><i class="Hui-iconfont">&#xe683;</i>查询</button>
            
            <div class="tool  tool_btn" id="addCharger"><i class="Hui-iconfont">&#xe600;</i>新增</div>
        </p>
        <p>
            <div class="label_title">
                <label>是否故障：</label>
            </div>
            <div class="span_check">
                <input type="radio" name="state" id="state1"  value="-1"/>
                <label for="state1" class="label_checkbox">全部</label>  
            </div>
            <div class="span_check">
                <input type="radio" name="state" id="state1"  value="-1"/>
                <label for="state1" class="label_checkbox">是</label>  
            </div>
            <div class="span_check">
                <input type="radio" name="state" id="state1"  value="0"/>
                <label for="state1" class="label_checkbox">否</label>  
            </div>
            <div class="label_title" style="width: 110px;">
                <label for="date" class="label_checkbox">充电总时长：</label>  
            </div>
            <div class="search_text">
                <input  type="text" class="dfinput search_width" id="date_start" name="date_start" onClick="WdatePicker()" value=""/>
            </div>  
            <div class="label_title">
                <label>至：</label>
            </div>
            <div class="search_text">
                <input  type="text" class="dfinput search_width" id="date_end" name="date_end" onClick="WdatePicker()" value=""/>
            </div>   
        </p>
        
       </FORM>     
    </div>
    <div class="table_box tablelist">
        <table width="160%">
            <tr>
                <th width="5%">充电桩编号</th>
                <th width="5%">当前楼层</th>
                <th width="5%">充电总时长</th>
                <th width="9%">投入使用时间</th>
                <th width="5%">是否故障</th>
                <th width="15%">操作</th>
                <th width="5%">输入电压</th>
                <th width="5%">输出电压</th>
                <th width="5%">输入电流</th>
                <th width="5%">输出电流</th>
                <th width="9%">额定输入电压</th>
                <th width="9%">额定输出电压</th>
                <th width="9%">额定输入电流</th>
                <th width="9%">额定输出电流</th>
            </tr>
        </table>
        <table width="160%">
            <tr>
                <td width="5%">xxll0090</td>
                <td width="5%">200,300</td>
                <td width="5%">10h</td>
                <td width="9%">2015.3.3</td>
                <td width="5%">否</td>
                <td width="15%">
                    <a href=""><div class="tools tool_left" id="detail"><i class="Hui-iconfont">&#xe695;</i>详情</div></a>
                    <a href=""><div class="tools tool_left" id="chargerEdit"><i class="Hui-iconfont">&#xe60c;</i>编辑</div></a>
                    <a href="javascript:chargerDelete();"><div class="tools tool_left"><i class="Hui-iconfont">&#xe609;</i>删除</div></a>
                    <a href="javascript:chargerDelete();"><div class="tools tool_left"><i class="Hui-iconfont">&#xe61d;</i>设置服务接口</div></a>
                </td>
                <td width="5%">220v</td>
                <td width="5%">220v</td>
                <td width="5%">10A</td>
                <td width="5%">10A</td>
                <td width="9%">380v</td>
                <td width="9%">380v</td>
                <td width="9%">20A</td>
                <td width="9%">20A</td>
            </tr>
            
        </table>
    </div>
     <div class="pager" id="kkpager" data-total="<?php 
        if (empty($carList->list))
        {
            echo 1;
        }
        else 
        {
            echo $carList->page; 
        }
        ?>"></div>
        
<?php importFooter();?>